//base
Do.add('base', {
    path: baseDir + 'base/base.js'
});
//图表
Do.add('chart', {
    path: baseDir + 'chart/Chart.min.js'
});
//form
Do.add('form', {
    path: baseDir + 'form/Validform.min.js'
});
//dialog
Do.add('dialogCss',
{
    path : baseDir + 'dialog/skins/default.css',
    type : 'css'
}
);
Do.add('dialogJs',
{
    path : baseDir + 'dialog/artDialog.js',
    requires : ['dialogCss']
}
);
Do.add('dialog',
{
    path : baseDir + 'dialog/iframeTools.js',
    requires : ['dialogJs']
}
);
//tip
Do.add('tips', {
    path: baseDir + 'tips/toastr.min.js'
});

//editor
Do.add('editorSrc', {
    path: baseDir + 'editor/tinymce.min.js'
});
Do.add('editor', {
    path: baseDir + 'editor/jquery.tinymce.min.js',
    requires: ['editorSrc']
});

//time
Do.add('timeCss', {
    path: baseDir + 'time/jquery.datetimepicker.css',
    type: 'css'
});
Do.add('time', {
    path: baseDir + 'time/jquery.datetimepicker.js',
    requires: ['timeCss']
});

//upload
Do.add('uploadSrc', {
    path: baseDir + 'upload/plupload.full.min.js'
});
Do.add('upload', {
    path: baseDir + 'upload/zh_CN.js',
    requires: ['uploadSrc']
});

//uploadQueue
Do.add('queueCss', {
    path: baseDir + 'upload/queue/css/jquery.plupload.queue.css',
    type: 'css'
});
Do.add('uploadQueue', {
    path: baseDir + 'upload/queue/jquery.plupload.queue.min.js',
    requires: ['upload']
});

//sortable
Do.add('sortable', {
    path: baseDir + 'upload/jquery.sortable.js'
});

//check
Do.add('checkCss', {
    path: baseDir + 'ui/check/skins/blue.css',
    type: 'css'
});
Do.add('check', {
    path: baseDir + 'ui/check/icheck.min.js',
    requires: ['checkCss']
});

//text
Do.add('textBox', {
    path: baseDir + 'text/jquery.textbox.js'
});

//Upload
Do.add('uploadifySrc',
{
    path : baseDir + 'uploadify/uploadify.css',
	type : 'css'
}
);
Do.add('uploadifyLang',
{
    path : baseDir + 'uploadify/lang.js',
    requires : ['uploadifySrc']
}
);
Do.add('uploadify',
{
    path : baseDir + 'uploadify/jquery.uploadify.min.js',
    requires : ['uploadifyLang']
}
);
//juploader
Do.add('juploader',
{
    path : baseDir + 'upload/juploader.js'
}
);

//调试函数
function debug(obj) {
    if (typeof console != 'undefined') {
        console.log(obj);
    }
}